Wdr\App\Controllers\Admin\WDRAjax D

Total Complexity 135
Dependencies 16
Dependents 1
Total lines 850
Lines of code 675
Logical lines of code 398
Comment lines 104
Methods 29
Properties 4

Methods 29

Method Rating Maintainability Complexity Lines of code
wdr_ajax_bulk_action()
B
35 18 98
wdr_ajax_save_rule()
A
47 13 31
get_rules_table_html()
A
45 10 35
wdr_ajax_get_state_details()
A
47 9 34
wdr_ajax_product_category()
A
47 8 33
wdr_ajax_save_configuration()
A
46 7 37
awdr_get_discount_of_a_product()
A
48 7 34
wdr_ajax_duplicate_rule()
A
48 7 32
wdr_ajax_product_sku()
S
49 6 31
wdr_ajax_delete_rule()
S
47 5 39
wdr_ajax_manage_status()
S
50 5 31
wdr_ajax_update_priority_order()
S
54 5 22
wdr_ajax_get_price_html()
S
53 4 22
wdr_ajax_create_rule_recipe()
S
54 4 19
__construct()
S
68 5 6
wdr_ajax_requests()
S
58 4 15
wdr_ajax_product_taxonomies()
S
52 3 24
wdr_ajax_get_variable_product_bulk_table()
S
61 2 12
wdr_ajax_product_attributes()
S
52 1 24
wdr_ajax_cart_coupon()
S
57 1 18
wdr_ajax_products()
S
57 1 16
wdr_ajax_save_advanced_option()
S
65 2 8
load_all_wpml_products()
S
66 2 8
wdr_ajax_product_tags()
S
61 1 12
wdr_ajax_users_list()
S
61 1 12
frontEndMethods()
S
73 1 6
wdr_ajax_skip_v1_v2_migration()
S
81 1 3
wdr_ajax_rebuild_onsale_list()
S
66 1 8
wdr_ajax_do_v1_v2_migration()
S
72 1 5